<%@ page language="java" contentType="text/html; charset=ISO-8859-1"pageEncoding="ISO-8859-1"%>
    <%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <link rel="stylesheet" type="text/css" href="jsp/style.css" />
     <title>LogIn Page</title>
     <script type="text/javascript">
     
function validate(){
	
	 if(document.frm.username.value=="")
     {
  alert("Please enter user name");
  document.frm.username.focus();
  return false;
     }
	 
	 if(document.frm.password.value=="")
     {
  alert("Please enter password");
  document.frm.password.focus();
  return false;
     }
}
</script>
</head>

<body >
<div id="container">
		<div id="header">
		<center><img src="../../images/video-library-logo-2.jpg" align="center" height="80px" width="250px" alt="" /></center>
        	
             </div>   
        
        <div id="menu">
        	<ul>
            	<li class="menuitem"><a href="LoginServlet">Home</a></li>
               
            
                <li class="menuitem"><a href="addform.jsp">Sign Up</a></li>
                <li class="menuitem"><a href="Login.jsp">Log In</a></li>
              
              <li class="menuitem"><a href="ContactUs.jsp">Contact Us</a></li>
              

            </ul>
        </div>
        
        <div id="leftmenu">

        </div>            
                
        
        
        
		<div id="content">
       
             
        
        <div id="content_top"></div>
        <div id="content_main">
<form name="frm" method="post"  onsubmit="return validate();">

<table  >
<tr height="50px"><td><h1><center>Sign In</center></h1></td><tr>

<tr> <td>
 Username: &nbsp <input id="username" type="text" name="username" size="10"><br/>
 </td></tr>
 <tr><td>
 Password: &nbsp <input id="password" type="password" name="password" size="10"><br/>
</td></tr>
<tr><td></td></tr>
<tr><td>
 <input type="submit" value="Submit">
 
 <input type="reset" value="Reset Form"></td></tr>
 <tr height="50px"><tr>
 <tr><td>New user? Sign Up <a href="SinUp.jsp">here</a></td></tr>
 <tr height="150px"></tr>
 
 
 </table>


</form>
 	  
      </div>
        <div id="content_bottom"></div>
            
            </div>
</body>
</html>